
import { Button as AntdButton } from 'antd'
import type { ButtonType } from 'antd/es/button'

interface ButtonProps {
    type: ButtonType,
    text: string,
}

function Button({ type, text }: ButtonProps) {
    return (
        <AntdButton type={type}>{text}</AntdButton>
    )
}
export default Button;